package biz

//
//import (
//	"context"
//
//	"git.bybit.com/svc/stub/pkg/svc/google/grpc/grpc_health_v1"
//	"google.golang.org/grpc/codes"
//	"google.golang.org/grpc/status"
//)
//
//const HealthHandler healthHandler = true
//
//type healthHandler bool
//
//func (h healthHandler) Check(ctx context.Context, request *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error) {
//	switch request.Service {
//	case "", "api.kycadminapi.KycAdminInnerService":
//		return &grpc_health_v1.HealthCheckResponse{
//			Status: grpc_health_v1.HealthCheckResponse_SERVING,
//		}, nil
//	default:
//		return nil, status.Error(codes.NotFound, "not found")
//	}
//}
//
//func (h healthHandler) Watch(request *grpc_health_v1.HealthCheckRequest, server grpc_health_v1.Health_WatchServer) error {
//	switch request.Service {
//	case "", "api.kycadminapi.KycAdminInnerService":
//		err := server.Send(&grpc_health_v1.HealthCheckResponse{
//			Status: grpc_health_v1.HealthCheckResponse_SERVING,
//		})
//
//		if err != nil {
//			return err
//		}
//	default:
//		err := server.Send(&grpc_health_v1.HealthCheckResponse{
//			Status: grpc_health_v1.HealthCheckResponse_SERVICE_UNKNOWN,
//		})
//
//		if err != nil {
//			return err
//		}
//	}
//
//	<-server.Context().Done()
//	return nil
//}
